//
//  ThirdcViewController.m
//  Four_years
//
//  Created by 中软国际019 on 15/11/12.
//  Copyright © 2015年 中软三班四年小组. All rights reserved.
//

#import "ThirdcViewController.h"

@interface ThirdcViewController ()

@end

@implementation ThirdcViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view.
    self.view.backgroundColor=[UIColor whiteColor];
    self.navigationItem.title=@"编辑";
    
    UITextView *things=[[UITextView alloc]initWithFrame:CGRectMake(0, 0, WIDTH, HEIGHT-49)];
    things.backgroundColor=[UIColor redColor];
    [self.view addSubview:things];
    
    self.navigationItem.rightBarButtonItem=[[UIBarButtonItem alloc]initWithTitle:@"保存" style:UIBarButtonItemStylePlain target:self action:@selector(finish:)];
    
}
-(void)finish:(UIBarButtonItem *)finish{
    NSLog(@"finish");
    [self.navigationController popViewControllerAnimated:YES];
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
